Fix the return type of gdk_selection_property_get
authorMatthias Clasen <mclasen@redhat.com>
Thu, 3 Sep 2009 02:50:05 +0000 (22:50 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 3 Sep 2009 02:50:05 +0000 (22:50 -0400)
It returns the length of the property, not a boolean. Reported
in bug 593788.

gdk/gdkselection.h

index 325c38321cbcd31e296676bfe816f6cb3e5af97d..1a96214425827a952b42c7f63c0a33f58e247a02 100644 (file)
@@ -86,7 +86,7 @@ void     gdk_selection_convert   (GdkWindow    *requestor,
                                    GdkAtom       selection,
                                    GdkAtom       target,
                                    guint32       time_);
-gboolean   gdk_selection_property_get (GdkWindow  *requestor,
+gint       gdk_selection_property_get (GdkWindow  *requestor,
                                       guchar    **data,
                                       GdkAtom    *prop_type,
                                       gint       *prop_format);